This appendix provides the answers to the quizzes at the end of each chapter.
Day 1
1. What is one of the chief benefits of object-oriented programming?
One chief benefit of OOP is that it facilitates better team development. This is important for users of Visual Basic. OOP represents a better-organized way to reuse code in chunks called objects.
2. What is the importance of behavior?
A conceptual behavior eventually provides the foundation for actual class methods. An object's action or reaction is a manifestation of that object's behavior. Behavior exhibited by an object at any given time can lead to changes in the object's state.
3. Describe the roles that the keywords Public and Private play in encapsulation.
The keyword Public means that the member is accessible to all modules, both within the project and in external projects. The keyword Private